﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UIT
{
    public class Context
    {
        public static Func<IUitContext> GetContext;

        public static IUitContext Current
        {
            get
            {
                if (GetContext == null)
                    throw new NotSupportedException("The Uit context was not initialized");
                return GetContext();
            }
        }
    }


}
